package com.ganmiao.server.file.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author zero.yin
 * @Date 2022/8/22 3:17 PM
 * @Desc
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("上传附件返回信息")
public class UploadFileVo {

    @ApiModelProperty(value = "附件ID")
    private Integer fileId;

    @ApiModelProperty(value = "附件名称")
    private String fileName;

    @ApiModelProperty(value = "附件URL")
    private String fileUrl;

    @ApiModelProperty(value = "附件URL")
    private String absoluteFileUrl;

    @ApiModelProperty(value = "附件存储：1甘苗服务；2百家云服务")
    private char fileStore;

    @ApiModelProperty(value = "转码状态（0待转码；1转码完成）")
    private char transferStatus;

    @ApiModelProperty(value = "百家云资源ID")
    private Integer videoId;

    @ApiModelProperty(value = "附件格式")
    private String format;

    @ApiModelProperty(value = "officeKey")
    private String officeKey;

}
